<template>
  <div id="app">
    <el-container  >
      <el-aside width="auto;">
        <common-aside></common-aside>
      </el-aside>
      <el-container>
        <el-header>
          <common-header></common-header>
        </el-header>
        <common-tag></common-tag>
        <el-main><router-view /></el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
  import CommonAside from "../components/CommonAside.vue";
  import CommonHeader from "../components/CommonHeader.vue";
  import CommonTag from "../components/CommonTag.vue";

  export default {
    name: "Main",
    components: { CommonAside, CommonHeader,CommonTag },
  };

</script>

<style>
  #app {
    height: 100%;
  }


  html,
  body {
    padding: 0px;
    margin: 0px;
    height: 100%;
  }


  .el-container {
    height: 100%;
    /* background-color: green; */
    padding: 0px;
    margin: 0px;
  }

  .el-header {
    background: #333;
  }

  .el-main {
    padding-top: 0;
  }
</style>

